Skip to content

Fix panic when call cleanupMap twice - #289

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
theop-dd/fix-panic-clear-map
Sep 7, 2026
Merged

Fix panic when call cleanupMap twice#289
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
theop-dd/fix-panic-clear-map

Conversation

@theop-dd

@theop-dd theop-dd commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR fix a panic that was introduced by the previous PR.
Before, when the function Stop was not splitted, this could not happen since the state was checked at the beginning of the function. We know need to check it in both functions.

Motivation

Calling 2 times cleanupMap could panic since we try to close a map that was already close.
What inspired you to submit this pull request?

@theop-dd
theop-dd requested a review from a team as a code owner September 4, 2026 14:28
@theop-dd
theop-dd force-pushed the theop-dd/fix-panic-clear-map branch from 185db5e to a697951 Compare September 4, 2026 14:34
@theop-dd

theop-dd commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Sep 7, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-09-07 07:17:23 UTC ℹ️ Start processing command /merge


2026-09-07 07:17:28 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 2m (p90).


2026-09-07 07:19:49 UTC ℹ️ MergeQueue: This merge request was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants